package com.java.pojo;

import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 进货完成以后展示进货单页面
 */
public class EnterGoodOk {
    private Integer eid;
    private Integer egid;//外键
    private String document;//编号
    private String document2;//编号
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date data1;//时间
    private Integer forname;//供应商
    private String goodname;//商品名称
    private Integer num;//商品数量
    private Double money;//总价
    private Integer stores;//门店
    private Integer rid;//进入的仓库
    private Integer okandno;//是否入库

    @Override
    public String toString() {
        return "EnterGoodOk{" +
                "eid=" + eid +
                ", egid=" + egid +
                ", document='" + document + '\'' +
                ", document2='" + document2 + '\'' +
                ", data1=" + data1 +
                ", forname=" + forname +
                ", goodname='" + goodname + '\'' +
                ", num=" + num +
                ", money=" + money +
                ", stores=" + stores +
                ", rid=" + rid +
                ", okandno=" + okandno +
                '}';
    }

    public Integer getEid() {
        return eid;
    }

    public void setEid(Integer eid) {
        this.eid = eid;
    }

    public Integer getEgid() {
        return egid;
    }

    public void setEgid(Integer egid) {
        this.egid = egid;
    }

    public String getDocument() {
        return document;
    }

    public void setDocument(String document) {
        this.document = document;
    }

    public String getDocument2() {
        return document2;
    }

    public void setDocument2(String document2) {
        this.document2 = document2;
    }

    public Date getData1() {
        return data1;
    }

    public void setData1(Date data1) {
        this.data1 = data1;
    }

    public Integer getForname() {
        return forname;
    }

    public void setForname(Integer forname) {
        this.forname = forname;
    }

    public String getGoodname() {
        return goodname;
    }

    public void setGoodname(String goodname) {
        this.goodname = goodname;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public Double getMoney() {
        return money;
    }

    public void setMoney(Double money) {
        this.money = money;
    }

    public Integer getStores() {
        return stores;
    }

    public void setStores(Integer stores) {
        this.stores = stores;
    }

    public Integer getRid() {
        return rid;
    }

    public void setRid(Integer rid) {
        this.rid = rid;
    }

    public Integer getOkandno() {
        return okandno;
    }

    public void setOkandno(Integer okandno) {
        this.okandno = okandno;
    }
}
